import App from './App'
import store from './store/index'
import common from '@/utils/common.js'
import apis from '@/utils/api.js'
import request from '@/utils/newRequest.js'
import Login from '@/components/Login/Login.vue'
import tabbar from './pages/index/tabbar.vue'
Vue.component('tabbar', tabbar)
// #ifndef VUE3
import Vue from 'vue'
Vue.prototype.$store = store
Vue.prototype.$common = common
Vue.prototype.$ajax = apis
Vue.prototype.$http = request.request;
Vue.config.productionTip = false
Vue.component("Login", Login)
App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
